<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<jsp:directive.page import="com.db.BaseDAO" />



<%
	String path = request.getContextPath();
%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="pragma" content="no-cache" />
<meta http-equiv="cache-control" content="no-cache" />
<meta http-equiv="expires" content="0" />
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3" />
<meta http-equiv="description" content="This is my page" />

<link rel="stylesheet" type="text/css" href="<%=path%>/css/base.css" />


</head>

<body leftmargin="2" topmargin="9"
	background='<%=path%>/images/allbg.gif'>
	<form action="<%=path%>/stu!update2.action" name="formAdd"
		method="post">
		<input type="hidden" name="data.id" value="${record.id }" />
		<table width="98%" align="center" border="0" cellpadding="4"
			cellspacing="1" bgcolor="#CBD8AC" style="margin-bottom: 8px">
			<tr bgcolor="#EEF4EA">
				<td colspan="3" background="<%=path%>/images/wbg.gif" class='title'>
					<span>编辑</span>
				</td>
			</tr>

			<tr align='center' bgcolor="#FFFFFF"
				onMouseMove="javascript:this.bgColor='red';"
				onMouseOut="javascript:this.bgColor='#FFFFFF';" height="22">
				<td width="25%" bgcolor="#FFFFFF" align="right">姓名：</td>
				<td width="75%" bgcolor="#FFFFFF" align="left"><input
					type="text" name="data.name" size="20" id="name"
					value="${record.name}" /></td>
			</tr>
			<tr align='center' bgcolor="#FFFFFF"
				onMouseMove="javascript:this.bgColor='red';"
				onMouseOut="javascript:this.bgColor='#FFFFFF';" height="22">
				<td width="25%" bgcolor="#FFFFFF" align="right">性别：</td>
				<td width="75%" bgcolor="#FFFFFF" align="left"><select
					name="data.sex" value="${record.sex }">
						<option value="男">男</option>
						<option value="女">女</option>
				</select></td>
			</tr>
			<tr align='center' bgcolor="#FFFFFF"
				onMouseMove="javascript:this.bgColor='red';"
				onMouseOut="javascript:this.bgColor='#FFFFFF';" height="22">
				<td width="25%" bgcolor="#FFFFFF" align="right">所在院系：</td>
				<td width="75%" bgcolor="#FFFFFF" align="left"><input
					name="data.department" value="${record.department }" /></td>
			</tr>
			<tr align='center' bgcolor="#FFFFFF"
				onMouseMove="javascript:this.bgColor='red';"
				onMouseOut="javascript:this.bgColor='#FFFFFF';" height="22">
				<td width="25%" bgcolor="#FFFFFF" align="right">所在班级：</td>
				<td width="75%" bgcolor="#FFFFFF" align="left"><input
					name="data.team" value="${record.team}" /></td>
			</tr>
			<tr align='center' bgcolor="#FFFFFF"
				onMouseMove="javascript:this.bgColor='red';"
				onMouseOut="javascript:this.bgColor='#FFFFFF';" height="22">
				<td width="25%" bgcolor="#FFFFFF" align="right">联系方式：</td>
				<td width="75%" bgcolor="#FFFFFF" align="left"><input
					name="data.tel" value="${record.tel}" /></td>
			</tr>
			<tr align='center' bgcolor="#FFFFFF"
				onMouseMove="javascript:this.bgColor='red';"
				onMouseOut="javascript:this.bgColor='#FFFFFF';" height="22">
				<td width="25%" bgcolor="#FFFFFF" align="right">区域：</td>
			
					<td width="75%" bgcolor="#FFFFFF" align="left"><select
						name="data.area" value="${record.area}">
							<option value="A">A区</option>
							<option value="B">B区</option>
							<option value="C区">C区</option>
							<option value="D">D区</option>
							<option value="E">E区</option>
							<option value="F">F区</option>
					</select></td> 
				
			</tr>
			<tr align='center' bgcolor="#FFFFFF"
				onMouseMove="javascript:this.bgColor='red';"
				onMouseOut="javascript:this.bgColor='#FFFFFF';" height="22">
				<td width="25%" bgcolor="#FFFFFF" align="right">楼栋：</td>
				<td width="75%" bgcolor="#FFFFFF" align="left"><select
					name="data.flat" value="${record.flat}">
						<option value="1">1栋</option>
						<option value="2">2栋</option>
						<option value="3">3栋</option>
						<option value="4">4栋</option>
						<option value="5">5栋</option>
						<option value="6">6栋</option>
						<option value="7">7栋</option>
						<option value="8">8栋</option>
				</select></td>
			
			</tr>
			<tr align='center' bgcolor="#FFFFFF"
				onMouseMove="javascript:this.bgColor='red';"
				onMouseOut="javascript:this.bgColor='#FFFFFF';" height="22">
				<td width="25%" bgcolor="#FFFFFF" align="right">宿舍号：</td>
				<td width="75%" bgcolor="#FFFFFF" align="left"><input
					name="data.roomno" value="${record.roomno}" /></td>
			</tr>


			<tr align='center' bgcolor="#FFFFFF"
				onMouseMove="javascript:this.bgColor='red';"
				onMouseOut="javascript:this.bgColor='#FFFFFF';" height="22">
				<td width="25%" bgcolor="#FFFFFF" align="right">&nbsp;</td>
				<td width="75%" bgcolor="#FFFFFF" align="left"><input
					type="submit" value="提交" /> &nbsp; <input type="reset" value="重置" />
					&nbsp;</td>
			</tr>
		</table>
	</form>
</body>
</html>
